<!DOCTYPE html>
<html>
<head>
<title>关于我们</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="copyright" content="www.apicloud.com" />
<link rel="stylesheet" href="../css/common.css">
<script src="../script/api.js"></script>
<style>
    
</style>
</head>
<body>
    <header id='header' class="aui-bar aui-bar-nav" style="background-color: #03a9f4">
	    <a class="aui-pull-left aui-btn" onclick="api.closeWin();">
	        <span class="aui-iconfont aui-icon-left"></span>
	    </a>
	    <div class="aui-title" id="middle">
	    	<!--<img src='../image/logo-smaller.png'/>-->
	    </div>
	</header>
</body>
<script>
apiready = function() {

	api.setFullScreen({
		fullScreen : true
	});
			
    var header = $api.byId('header');
    //$api.fixIos7Bar(header);
    
    var headerPos = $api.offset(header);//获取元素在页面中的位置与宽高
    var pageUrl = api.pageParam.url;
    var title = api.pageParam.title;
    
    var equipCode = api.pageParam.equipCode;
    var SRequipCode = api.pageParam.SRequipCode;
    var type = api.pageParam.type;
    // 工单号
    var workCode = api.pageParam.workCode;
    	
   	var frameH = api.winHeight - headerPos.h;
   	
   	var title = api.pageParam.title;
    var div = document.getElementById('middle');
   	div.innerHTML = "<strong id='title'>"+title+"</strong>";
   	
    api.openFrame({
        name: 'about-con',
        url: pageUrl,
        rect:{
            x:0,
            y:headerPos.h,
            w:'auto',
            h:frameH
        },
        pageParam: {
			equipCode : equipCode,
			SRequipCode : SRequipCode,
			workCode : workCode,
            type : type
    	},
        bgColor: '#FFFFFF',
        showProgress: true,
        bounces: false
    });

}

</script>
</html>